package pers.cj.pdos.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenj
 * @since 2020-04-05
 */
public class HouseWaitInPacketGoods extends Model<HouseWaitInPacketGoods> {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 待入库单id
     */
    private String houseWaitInId;

    /**
     * 待入库单套餐表id
     */
    private String houseWaitInPacketId;

    /**
     * 套餐id
     */
    private String packetId;

    /**
     * 商品id
     */
    private String goodsId;

    /**
     * 商品数量
     */
    private BigDecimal number;

    /**
     * 商品单位
     */
    private String unitId;

    /**
     * 换算倍数
     */
    private BigDecimal times;

    /**
     * 商品单价
     */
    private BigDecimal price;

    /**
     * 金额
     */
    private BigDecimal amount;

    private String companyId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getHouseWaitInId() {
        return houseWaitInId;
    }

    public void setHouseWaitInId(String houseWaitInId) {
        this.houseWaitInId = houseWaitInId;
    }
    public String getHouseWaitInPacketId() {
        return houseWaitInPacketId;
    }

    public void setHouseWaitInPacketId(String houseWaitInPacketId) {
        this.houseWaitInPacketId = houseWaitInPacketId;
    }
    public String getPacketId() {
        return packetId;
    }

    public void setPacketId(String packetId) {
        this.packetId = packetId;
    }
    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }
    public BigDecimal getNumber() {
        return number;
    }

    public void setNumber(BigDecimal number) {
        this.number = number;
    }
    public String getUnitId() {
        return unitId;
    }

    public void setUnitId(String unitId) {
        this.unitId = unitId;
    }
    public BigDecimal getTimes() {
        return times;
    }

    public void setTimes(BigDecimal times) {
        this.times = times;
    }
    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }
    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }
    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "HouseWaitInPacketGoods{" +
            "id=" + id +
            ", houseWaitInId=" + houseWaitInId +
            ", houseWaitInPacketId=" + houseWaitInPacketId +
            ", packetId=" + packetId +
            ", goodsId=" + goodsId +
            ", number=" + number +
            ", unitId=" + unitId +
            ", times=" + times +
            ", price=" + price +
            ", amount=" + amount +
            ", companyId=" + companyId +
        "}";
    }
}
